package com.liang.circle.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liang.circle.api.common.PageDTO;
import com.liang.circle.api.req.ShareMomentGetReq;
import com.liang.circle.api.req.ShareMomentSaveReq;
import com.liang.circle.api.vo.ShareMomentVO;
import com.liang.circle.server.entity.po.ShareMoment;

public interface ShareMomentService extends IService<ShareMoment> {

    /**
     * 发布内容
     */
    void saveMoment(ShareMomentSaveReq requestParam);

    /**
     * 分页查询鸡圈内容
     */
    PageDTO<ShareMomentVO> getMomentList(ShareMomentGetReq requestParam);

    void removeMoment(Long id);

    /**
     * 更新帖子回复数
     */
    void updateMoment(ShareMoment requestParam, int count);
}
